<?php

declare(strict_types=1);

namespace app\shop\model;

use sheep\model\Common;


class WithdrawLog extends Common
{
    protected $name = 'shop_withdraw_log';

    public function oper()
    {
        return $this->morphTo(['oper_type', 'oper_id'], [
            'user' => \sheep\model\user\User::class,
            'admin' => \sheep\model\auth\Admin::class,
            'system' => \sheep\model\auth\Admin::class
        ]);
    }
}
